logo

InBox DynamicFieldMask

Version 6.0.3

Creation date 2019-01-08

Resources

This module provides the option to create dynamic fields with built-in masks.

Prerequisites

Framework

The following OTRS framework versions are supported:

  • [6.x.x]

Modules

The following modules are required:

  • InBox Core 6.22.7 or superior

Operational system

The following operating systems are required:

  • [none]

Third Party Software

The following third party software is required:

  • [none]

Installation

bin/otrs.Console.pl Admin::Package::Install /path/to/InBox\ DynamicFieldMask-6.0.3.opm

Configuration

DynamicFields::Mask::PossibleMasks

Set the possible masks to be displayed.

Use

Creating a mask-type dynamic field.

The module adds to the native OTRS options the type ‘Mask’ when creating a new dynamic field. To create a new dynamic field just follow the standard OTRS procedure.

Navigate to the administration menu and search for ‘Dynamic Fields’.

When selecting an object, also select the Mask type:

enter image description here

Configure name and label normally. In the option "Field Settings Masks" select which type of mask will act in the field.

You can set mask of type: monetary value. Where it is possible to configure which currency the field will operate under. Allowing, or not, negative values.

enter image description here

In the option Standard you can select which type of mask will work, being the types: CEP, CNPJ, CPF and Telephone.

Save the field and add it to a desired screen.

It will be displayed according to the defined mask. The example below is the 'zip code' mask: